Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 9 - Camera Objects / Camera Objects Reference
Camera Objects Routines / Managing View Plane Cameras


Q3ViewPlaneCamera_GetCenterX

You can use the Q3ViewPlaneCamera_GetCenterX function to get the horizontal center of the viewed object.

TQ3Status Q3ViewPlaneCamera_GetCenterX (
TQ3CameraObject camera, 
float *centerXOnViewPlane);
camera
A view plane camera object.
centerXOnViewPlane
On exit, the x coordinate of the center of the viewed object.
DESCRIPTION
The Q3ViewPlaneCamera_GetCenterX function returns, in the centerXOnViewPlane parameter, the x coordinate of the center of the viewed object of the camera specified by the camera parameter.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996